package com.car.mapper;

import com.car.entity.CarBattery;
import com.car.entity.CarBatteryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CarBatteryMapper {
    long countByExample(CarBatteryExample example);

    int deleteByExample(CarBatteryExample example);

    int deleteByPrimaryKey(String id);

    int insert(CarBattery record);

    int insertSelective(CarBattery record);

    List<CarBattery> selectByExample(CarBatteryExample example);

    CarBattery selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CarBattery record, @Param("example") CarBatteryExample example);

    int updateByExample(@Param("record") CarBattery record, @Param("example") CarBatteryExample example);

    int updateByPrimaryKeySelective(CarBattery record);

    int updateByPrimaryKey(CarBattery record);

    CarBattery findOne(@Param("carid")String carid);
}